import request from "@/utils/request";

// 设置预算
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export function setBudget(data: unknown) {
  return request({
    url: '/budget/setBudget',
    method: 'post',
    data
  })
}

// 获取预算
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export function getBudget(params: unknown) {
  return request({
    url: '/budget/getBudget',
    method: 'get',
    params
  })
}